package test3;

import java.util.prefs.PreferenceChangeEvent;

public class Test {
    public static void phoneCall(phone phone){
        phone.phoneCall();
    }
    public static void main(String[] args) {
        phone phone1 = new phone("123");
        phone phone15 = new phone15("123","通化","张三");

        phoneCall(phone1);
        System.out.println("================");
        phoneCall(phone15);
    }
}
